<?php
/*
 * Created on Aug 13, 2013
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
?>
<?php
include_once("./configure/configure.php");						//--> global var
include_once("./admin/configure/admin.config.inc.php");			//-- admin var
include_once("./admin/tools/smarty/libs/Smarty.class.php");		//--> out template

include_once("impl/CategoryImpl.php");
include_once("impl/TagImpl.php");


include_once("includeSmarty.php");



if(!$smarty->isCached('disclaimer.html')){	
	$oCatImpl 		= new CategoryImpl(DB_TAG_MM);
	$tagImpl		= new TagImpl(DB_TAG_MM);
	
	
	$oCats 			= $oCatImpl->getLeaf();
	$oTags			= $tagImpl->getTags();
	
	$smarty->assign('oCats', $oCats);
	$smarty->assign('oTags', $oTags);
	
}

$smarty->assign('HOME_URL', HOME_URL);
$smarty->assign('HOME_URL_HTTP', HOME_URL_HTTP);
$smarty->assign('DEBUG', DEBUG);


$smarty->display('disclaimer.html');
?>
